<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8" />
<meta http-equiv="Pragma" content="No-cache"/>
<meta http-equiv="Cache-Control" content="no-cache, must-revalidate"/>
<meta http-equiv="Expires" content="-1"/>
<title>jquery placeholder站位符控件</title>
<script src="../jquery-1.7.2.min.js" type="text/javascript"></script>
<script src="jquery.placeholder.js" type="text/javascript"></script>
</head>

<body id="cy_body">
    <form action="">
        <label>用户名</label>
		<input type="text" name="userName" value="我是userName" placeholder="请输入用户名"/>
		<label>密码</label>
		<input style="height:16px;" type="password" name="pwd" placeholder="请输入密码"/>
    </form>
    
    <p>
    	<label style="cursor: text;">我是label标签</label>
    </p>
    
    
<script>
$(function($){
    $('input').placeholder({color: 'rgb(169,169,169)', fontSize:'13px'});
});
</script>
</body>
</html>

